#ifndef WARNNING_H
#define WARNNING_H
#include "warnningDialog.h"
#include <QCloseEvent>

class Warnning:public QDialog,public Ui_warningDialog
{
    Q_OBJECT
public:
    Warnning();
    bool type;

public slots:
    void selectQuit();
    void selectCancel();
protected:
    void closeEvent(QCloseEvent *event);
signals:
    void quitButton();
    void logoutButton();
    void cancelButton();
};

#endif // WARNNING_H
